import request from '@/utils/request'

export function list(query) {
  return request({
    url: '/collegeChapter/getList',
    method: 'post',
    params: query
  })
}

export function create(data) {
  return request({
    url: '/collegeChapter/create',
    method: 'post',
    data
  })
}

export function isStatus(data) {
  return request({
    url: '/collegeChapter/update',
    method: 'post',
    params: data
  })
}

export function update(data) {
  return request({
    url: '/collegeChapter/editChapter',
    method: 'post',
    data
  })
}

export function remove(data) {
  return request({
    url: '/collegeChapter/deleted',
    method: 'post',
    params: data
  })
}
